﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SonCa.SocialNetwork.Web.ASCX.Presenters;
using SonCa.SocialNetwork.Web.ASCX.IPresenters;
using Core.Common;

namespace SonCa.SocialNetwork.Web.ASCX
{
    public partial class ChangePassword : System.Web.UI.UserControl, IHeaderPresenter,IChangePassword
    {
        protected HeaderPresenter _presenter;

        private ChangePasswordPresenter _presenterChangePass;

        protected void Page_Load(object sender, EventArgs e)
        {
            _presenter = new HeaderPresenter();
            _presenter.Init(this);

            _presenterChangePass = new ChangePasswordPresenter();
            
            MEFManager.Compose(this);

            hdtAccountID.Value = _presenter.GetCurrentAccountID().ToString();
        }        
    }
}